<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改用户-thymeleaf</title>
</head>
<body>
<form method="post" action="updateUserById.do">
    <input type="hidden" name="userId" th:value="${user.userId}">
    用&ensp;户&ensp;名：<input name="userName" type="text" th:value="${user.userName}"/><br>
    姓&emsp;名：<input name="realName" type="text" th:value="${user.realName}"/><br>
    &emsp;&emsp;&emsp;<input type="submit" value="提交">
</form>
</body>
</html>